package com.hcy.model;

import com.hcy.rabbitbasicmodel.signl.Add;
import com.hcy.rabbitbasicmodel.signl.Delete;
import com.hcy.rabbitbasicmodel.signl.Select;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/5/18
 **/
@Data
public class RegisterUserDTO {

    /**
     * 用户登录名称
     */
    @NotNull(groups = {Add.class})
    private String username;
    /**
     * 用户登录密码
     */
    @NotNull(groups = Add.class)
    private String password;
}
